#ifndef CVUSER_H
#define CVUSER_H

#include <QObject>
#include "cvprofile.h"

class CVUser : public QObject
{
    Q_OBJECT
public:
    explicit CVUser();

    void setId(int id);
    void setName(const QString &name);
    void setFirstName(const QString &firstName);
    void setLastName(const QString &lastName);
    void setTimeCreated(const QString &timeCreated);
    void setTimeUpdated(const QString &timeUpdated);
    void setIcon(const QString &icon);
    void setSmallIcon(const QString &smallIcon);
    void setHideData(const QString &hideData);
    void setPassword(const QString &password);
    void setIsGuset(bool isGuest);
    void setProfile(CVProfile* profile);

    int getId();
    QString getName();
    QString getFirstName();
    QString getLastName();
    QString getTimeCreated();
    QString getTimeUpdated();
    QString getIcon();
    QString getSmallIcon();
    QString getPassword();
    bool isGuest();
    CVProfile* getProfile();
signals:
    
public slots:
private:
    int id;
    QString name;
    QString firstName;
    QString lastName;
    QString timeCreated;
    QString timeUpdated;
    QString icon;
    QString smallIcon;
    QString hideData;
    QString password;
    bool bGuest;
    CVProfile *profile;
};

#endif // CVUSER_H
